html,
body {
    min-width: 1240px;
}

/* 头部 */
header {
    height: 200px;
}

header .nav-prev {
    width: 100%;
    height: 90px;
}

header .nav {
    height: 36px;
    background: rgb(0, 0, 0);
}

header .nav .container {
    height: 36px;
}

header .nav .container .nav-ul>li {
    float: left;
}

header .nav .container .nav-ul>li>a {
    color: #ccc;
    padding: 0 10px;
    border-left: 1px solid #666;
    font-size: 12px;
}

header .nav .container .nav-ul>li>a:hover {
    color: #fff;
}

/* 左ul */
header .nav .container .nav-left {
    float: left;
    line-height: 36px;
}

header .nav .container .nav-left>li:first-child>a {
    border: none;
}

header .nav .container .nav-left .caidan {
    width: 80px;
}

/* caidan标签 */
header .nav .container .nav-ul .caidan:hover {
    background: #fff;
}

header .nav .container .nav-ul .caidan {
    position: relative;
}

header .nav .container .nav-ul .caidan:hover .xiala {
    color: #cb242b;
}

/* 右ul */
header .nav .container .nav-right {
    float: right;
    line-height: 36px;
}

header .nav .container .nav-right>li:first-child{
    width: 130px;
}
header .nav .container .nav-right>li:first-child a {
    color: #ccc;
    padding-right: 10px;
    font-size: 12px;
}

header .nav .container .nav-right>li:nth-child(2) a {
    border: none;
}

header .nav .container .nav-right li:nth-child(4) {
    width: 55px;
}

header .nav .container .nav-right li:nth-child(5) {
    width: 65px;
}

header .nav .container .nav-right li:nth-child(6) {
    width: 70px;
}

/* 下拉 */
header .nav .container .catalog {
    padding: 0 25px;
    background: #fff;
    position: absolute;
    right: 0;
    top: 36px;
    z-index: 444;
    display: none;
}

header .nav .container .catalog>li a {
    font-size: 14px;
    line-height: 32px;
    color: #666;
}

header .nav .container .catalog>li a:hover {
    color: #cb242b;
}

header .nav .container .nav-left .caidan>ul {
    width: 100px;
}

header .nav .container .nav-right li:nth-child(4) ul {
    width: 70px;
}

/* 网站导航 */
header .nav .container .nav-right li:nth-child(5) ul {
    width: 893px;
    height: 190px;
    padding-top: 20px;
}

header .nav .container .nav-right>li:nth-child(5) {
    width: 80px;
    position: relative;
}

header .nav .container .nav-right>li:nth-child(5) ul li {
    float: left;
}

header .nav .container .nav-right>li:nth-child(5) ul li:nth-child(1) {
    width: 50px;
    font-size: 12px;
    margin: 0 30px;
}

header .nav .container .nav-right>li:nth-child(5) ul li:nth-child(1) span {
    display: block;
    width: 50px;
    height: 45px;
    background: #f5f5f5;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    padding-top: 5px;
}

header .nav .container .nav-right>li:nth-child(5) ul li:nth-child(2) {
    width: 160px;
    margin: 0 30px;
}

header .nav .container .nav-right>li:nth-child(5) ul li:nth-child(2) a {
    font-size: 12px;
    margin-right: 25px;
}

header .nav .container .nav-right>li:nth-child(5) ul li:nth-child(3) {
    width: 160px;
    margin-right: 30px;
}

header .nav .container .nav-right>li:nth-child(5) ul li:nth-child(3) div span {
    display: inline-block;
    width: 70px;
}

header .nav .container .nav-right>li:nth-child(5) ul li:nth-child(3) div span a {
    display: block;
    font-size: 12px;
}

header .nav .container .nav-right>li:nth-child(5) ul li:nth-child(4) {
    width: 185px;
    margin-right: 30px;
}

header .nav .container .nav-right>li:nth-child(5) ul li:nth-child(4) div span {
    display: inline-block;
    width: 90px;
}

header .nav .container .nav-right>li:nth-child(5) ul li:nth-child(4) div span a {
    display: block;
    font-size: 12px;
}

/* 手机版 */
header .nav .container .nav-right li:nth-child(6) ul {
    width: 245px;
}

header .nav .container .nav-right li:nth-child(6) ul li {
    width: 100%;
    height: 90px;
    padding: 20px 0;
}

/* 隐藏上拉图标 */
.icon-xiala {
    position: absolute;
    right: 0;
    top: 2px;
}

.icon-shangla {
    display: none;
    position: absolute;
    right: 0;
    top: 2px;
}

/* 吸顶 */
header .navBottom {
    height: 74px;
    width: 100%;
    background: #fff;
    z-index: 400;
}

header .navBottom .container {
    height: 74px;
    display: flex;
}

header .navBottom .container .logo {
    width: 103px;
    height: 74px;
}

header .navBottom .container img {
    width: 100%;
    height: 100%;
}

header .navBottom .container ul {
    width: 900px;
    line-height: 74px;
    margin-left: 40px;
}

header .navBottom .container ul li {
    float: left;
    margin-left: 40px;
}

header .navBottom .container ul li a {
    font-size: 16px;
    color: #333;
}

header .navBottom .container ul li a:hover {
    color: rgb(207, 10, 44);
}

header .navBottom .container .search {
    width: 170px;
    height: 32px;
    margin-top: 20px;
    border-bottom: 1px solid rgb(209, 207, 207);
}

header .navBottom .container .search span {
    font-size: 18px;
    float: left;
    margin-top: 5px;
}

header .navBottom .container .search input {
    width: 140px;
    height: 17px;
    float: left;
    margin-top: 7px;
    border: none;
}

header .navBottom .container .search input::placeholder {
    color: rgb(209, 207, 207);
    font-size: 16px;
}

header .navBottom .container .cart {
    width: 50px;
    height: 27px;
    margin-top: 20px;
    position: relative;
    text-align: center;
    padding-top: 5px;
}

header .navBottom .container .cart span {
    font-size: 24px;
}

header .navBottom .container .cart em {
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 5px;
    font-size: 10px;
    display: block;
    width: 18px;
    height: 14px;
    color: white;
    background-color: rgb(204, 67, 49);
}

/* 七天免登陆 */
section {
    color: #ccc;
    width: 105px;
    position: relative;
    /* position: absolute;
    top: 18px;
    left: 645px; */
}

section b,
section span {
    display: none;
    cursor: pointer;
    font-size: 10px;
    &:nth-child(2){
        position: absolute;
        top: 0;
        right: 0;
    }
}

/* 轮播 */
#banner {
    width: 100%;
    height: 520px;
    position: relative;
}

#banner .swiper,
#banner .swiper .swiper-wrapper .swiper-slide img {
    width: 100%;
    height: 100%;
}

#banner .swiper .swiper-button-prev {
    width: 70px;
    height: 70px;
    position: absolute;
    left: 280px;
    border-radius: 50%;
    color: white;
    background-color: #000;
    opacity: 0.1;
}

#banner .swiper .swiper-button-next {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    color: white;
    background-color: #000;
    opacity: 0.1;
}

#banner .swiper .swiper-button-prev:hover {
    opacity: 0.3;
}

#banner .swiper .swiper-button-next:hover {
    opacity: 0.3;
}

/* 菜单 */
#banner .menu {
    display: flex;
    height: 460px;
    background-color: rgba(255, 255, 255, 0.9);
    position: absolute;
    top: 20px;
    left: 63px;
    z-index: 333;
    box-shadow: 0 0 20px 10px #dfdddd;
    padding-left: 20px;
}

#banner .menu .left li {
    width: 180px;
    height: 30px;
    padding-top: 10px;
}

#banner .menu .left li a {
    color: #777;
    font-size: 14px;
    float: left;
}

#banner .menu .left .active {
    color: #000;
    font-weight: bold;
}

#banner .menu .left li span {
    width: 24px;
    float: right;
    font-size: 14px;
    font-weight: 100;
    color: #777;
}

/* 选项卡 */
#banner .content {
    height: 460px;
    background: #fff;
    display: none;
}

#banner .content div {
    width: 100%;
    height: 460px;
    display: none;
}

.show {
    display: block !important;
}

.show ul {
    margin: 25px 0 0 20px;
    float: left;
}

.show ul li {
    width: 214px;
    height: 72px;
    margin-bottom: 15px;
}

.show ul li a {
    color: #777;
    font-size: 14px
}

.show ul li a:hover {
    color: #cb242b;
}

.show .check-all {
    padding-top: 15px;
}

.show .check-all a {
    padding: 10px 20px;
    border: 1px solid #ccc;
    border-radius: 25px;
    color: #999;
}

.show img {
    width: 52px;
    height: 52px;
}

/* 楼层 */
.floor1 {
    width: 90px;
    height: 130px;
    background: #fff;
    position: fixed;
    right: 10px;
    top: 230px;
    display: none;
    cursor: pointer;
    text-align: center;
    font-size: 13px;
    z-index: 333;
    border-radius: 6px;
    box-shadow: 0px 0px 20px 5px #ccc;
    color: #666;
}

.floor1 li {
    margin-top: 10px;

    &:hover {
        color: #cb242b;
        font-weight: bold;
    }
}

.floor2 {
    width: 70px;
    height: 210px;
    position: fixed;
    right: 20px;
    bottom: 30px;
    border-radius: 6px;
    z-index: 333;
    background: #fff;
    box-shadow: 0px 0px 20px 5px #ccc;
    cursor: pointer;
    color: #666;
    display: none;
}

.floor2 li {
    height: 50px;
    padding-top: 20px;
    font-size: 10px;
    text-align: center;

    &:hover {
        color: #cb242b;
        span{
            color: #cb242b;
        }
        a{
            color: #cb242b;
        }
    }

}

.floor2 li span {
    font-size: 20px;
    color: #666;
}

.floor2 li a {
    color: #666;
}

/* 主体 */
main {
    background: #eeeeee;
}

/* 新品 */
#newGoods .container {
    padding: 30px 0;
}

#newGoods .newGoods-ul {
    height: 90px;
    margin: 0 0 15px 130px;
    width: 1000px;
    display: flex;
    justify-content: space-between;
}

#newGoods .newGoods-ul li {
    text-align: center;
    font-size: 14px;
}

#newGoods .newGoods-ul li a {
    color: #333;
}

#newGoods .newGoods-ul li a p {
    margin-top: 8px;
}

#newGoods .newGoods-ul img {
    width: 48px;
    height: 48px;
}

#newGoods .xinpin {
    display: flex;
    justify-content: space-between;
}

#newGoods .xinpin img {
    width: 291px;
    height: 194px;
}

/* 限时秒杀 */
#seckill .container .sale,
#flashSale .container .sale {
    margin: 20px 0 40px 0;
    display: flex;
    justify-content: space-between;
}

#seckill .container .sale div,
#flashSale .container .sale div {
    width: 230px;
    height: 306px;
    text-align: center;
    background-color: #fff;
}

#seckill .container .sale div:nth-child(1) {
    background: rgb(224, 218, 218);
    font-size: 20px;
}

#seckill .container .sale div:nth-child(1) p:nth-child(2) {
    color: rgb(207, 10, 44);
    margin-bottom: 50px;
}

#seckill .container .sale div:nth-child(1) p:nth-child(3) {
    color: #555;
    margin-bottom: 15px;
    font-size: 18px;
}

#seckill .container .sale div:nth-child(1) img {
    width: 48px;
    height: 48px;
    margin-top: 50px;
    margin-bottom: 10px;
}

#seckill .container .sale div:nth-child(1) span {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #555;
    margin: 0 10px;
    color: #fff;
    line-height: 40px;
}

#seckill .container .sale .skl {
    img {
        width: 142px;
        height: 142px;
        margin: 25px 0 35px 0;
    }

    p:nth-child(2) {
        font-size: 15px;
        margin-bottom: 8px;
    }

    p:nth-child(3) {
        font-size: 13px;
        color: #888;
        margin-bottom: 13px;
    }
}

big {
    color: rgb(207, 10, 44);
    margin-right: 8px;
}

del {
    color: #888;
    font-size: 11px;
}

/* 限时购 */
#flashSale {
    h2 {
        float: left;
        margin-right: 10px;
    }

    span {
        width: 32px;
        height: 32px;
        background: rgb(207, 10, 44);
        color: #fff;
        font-size: 18px;
        display: inline-block;
        text-align: center;
        line-height: 32px;
        margin: 0 5px;
    }

    .sale div {
        cursor: pointer;
        img {
            width: 177px;
            height: 154px;
            margin: 25px 0 40px 0;
        }

        p:nth-child(2) {
            font-weight: bold;
            font-size: 15px;
            margin-bottom: 8px;
        }

        p:nth-child(3) {
            color: #888;
            font-size: 13px;
            margin-bottom: 13px;
        }
    }
}

/* 手机 */
#phone {
    .top {
        height: 56px;
        h2 {
            float: left;
        }
        span:nth-child(2) {
            float: left;
            margin: 4px 0 0 30px;
            a {
                color: #777;
                font-size: 20px;
                font-weight: bold;
                &:hover{
                    color: rgb(207, 10, 44);
                }
            }
        }
        span:nth-child(3) {
            float: right;
            margin: 4px 0 0 0px;
            a{
                color: #777;
                font-size: 14px;
            }
        }
    }
    .bottom {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        div {
            width: 300px;
            height: 380px;
            background: #fff;
            margin-bottom: 15px;
            text-align: center;
            font-size: 14px;
            cursor: pointer;
            img{
                width: 180px;
                height: 193px;
                margin: 25px 0 40px 0;
            }
            p:nth-child(2){
                font-weight: bold;
                margin-bottom: 10px;
                span{
                    background: rgb(249, 42, 74);
                    color: #fff;
                    font-size: 10px;
                    font-weight: normal;
                    padding: 3px 3px;
                    border-radius: 4px;
                    margin-right: 5px;
                }
            }
            p:nth-child(3){
                color: #888;
                margin-bottom: 15px;
            }
            p:nth-child(6),p:nth-child(5){
                margin-top: 10px;
                span{
                    border: 1px solid rgb(207, 10, 44);
                    color: rgb(207, 10, 44);
                    font-size: 12px;
                    border-radius: 3px;
                    margin-right: 10px;
                    padding: 0 5px;
                }
            }
        }

    }
}

/* 电脑 */
#computer {
    padding-bottom: 30px;
    .top {
        height: 56px;
        h2 {
            float: left;
        }
        span:nth-child(2) {
            float: left;
            margin: 4px 0 0 30px;
            a {
                color: #777;
                font-size: 20px;
                font-weight: bold;
                margin-left: 25px;
                &:hover{
                    color: rgb(207, 10, 44);
                }
            }
        }
        span:nth-child(3) {
            float: right;
            margin: 4px 0 0 0px;
            a{
                color: #777;
                font-size: 14px;
            }
        }
    }
    .bottom {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        div {
            width: 300px;
            height: 380px;
            background: #fff;
            margin-bottom: 15px;
            text-align: center;
            font-size: 14px;
            cursor: pointer;
            img{
                width: 180px;
                height: 193px;
                margin: 15px 0 20px 0;
            }
            p:nth-child(2){
                margin-bottom: 15px;
                span{
                    font-size: 10px;
                    background: rgb(251, 231, 234);
                    color: rgb(207, 10, 44);
                    padding: 3px 6px;
                    border-radius: 4px;
                }
            }
            p:nth-child(3){
                font-weight: bold;
                margin-bottom: 10px;
                span{
                    background: rgb(249, 42, 74);
                    color: #fff;
                    font-size: 10px;
                    font-weight: normal;
                    padding: 3px 3px;
                    border-radius: 4px;
                    margin-right: 5px;
                }
            }
            p:nth-child(4){
                color: #888;
                margin-bottom: 15px;
            }
            p:nth-child(6){
                margin-top: 10px;
                span{
                    border: 1px solid rgb(207, 10, 44);
                    color: rgb(207, 10, 44);
                    font-size: 12px;
                    border-radius: 3px;
                    margin-right: 10px;
                    padding: 0 5px;
                }
            }
        }

    }
}


// 底部
footer{
    .top{
        margin: 0 auto;
        line-height: 120px;
        display: flex;
        justify-content: space-around;
        border-bottom: 1px solid #ccc;
        span{
            font-size: 18px;
        }
    }
    .middle{
        display: flex;
        font-size: 14px;
        padding: 55px 0;
        div{
           ul{
            width: 159px;
            color: #777;
            font-size: 12px;
            margin-top: 30px;
            li{
                margin-bottom: 10px;
                cursor: pointer;
                &:hover{
                    color: rgb(207, 10, 44);
                }
            }
           }
        }
        div:last-child{
            text-align: center;
            border-left: 1px solid #ccc;
            height: 160px;
            padding-left: 30px;
            p:nth-child(1){
                font-size: 24px;
                font-weight: bold;
                line-height: 32px;
            }
            p:nth-child(2){
                font-size: 13px;
                line-height: 19px;
                margin-bottom: 25px;
            }
            a{
                background: #000;
                color: #fff;
                padding: 10px 50px;
                border-radius: 30px;
                font-size: 12px;
                span{
                    font-size: 16px;
                    margin-right: 10px;
                }
            }
            p:nth-child(4){
                margin-top: 25px;
                font-size: 13px;
                span{
                    font-size: 20px;
                    margin-right: 10px;
                }
            }
        }
    }
}